package co.com.cdi.ejb;

import javax.ejb.Stateless;
import javax.inject.Inject;

import co.com.cdi.Red;
import co.com.cdi.Wine;

/**
 * Session Bean implementation class ClientMethod
 */
@Stateless
public class ClientMethod implements ClientMethodLocal {

  
	private Wine wine;

	@Inject
	public void setWine(Wine wine) {
		this.wine = wine;
	}

	@Override
	public String getColor() {		
		return wine.getColor()  + " : Method";
	}
}
